package com.zfzs.post.modules.flow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
* @author wq
* @date 2019-10-21
*/
@Data
@Document(collection="flow_other_income")
public class OtherIncome implements Serializable {

    private String id;

    private Long agentId;

    // 渠道id
    private Long channelId;

    private String title;

    private String icon;

    // 收益金额
    private String amount;

    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    // 描述
    private List<String> detailList;

}